package org.mineground.commands.player;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandException;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;

public class Help implements CommandExecutor {
    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) throws CommandException {
	Player player = (Player) sender;
	player.sendMessage(ChatColor.GOLD + "------------------------ Help ------------------------");
	player.sendMessage(ChatColor.GREEN + "* Can't build? Register at www.Mineground.com!");
	player.sendMessage(ChatColor.GREEN + "* Have questions regarding the rules? Check out /rules!");
	player.sendMessage(ChatColor.GREEN + "* Looking for a list of commands? Check out /commands!");
	player.sendMessage(ChatColor.GOLD + "-----------------------------------------------------");
	return true;
    }
}
